package com.jyw.business.ast.domain.dto.web;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author 沈峻
 * @ClassName InsRecordAstPageDto
 * @Description 巡检记录-资产查询请求实体
 * @Date 2023/9/27 14:04
 **/
@Data
@ApiModel("巡检记录-资产查询请求实体")
public class InsRecordAstPageDto {

    @ApiModelProperty("关键字")
    private String keyword;

    @ApiModelProperty("资产类型")
    private String assetsType;

    @ApiModelProperty("使用科室")
    private Long useDept;

    @ApiModelProperty("巡检人")
    private List<Long> inspectUserIdList;

    @ApiModelProperty("巡检结果（1正常 2异常）")
    private Integer result;

    @ApiModelProperty("巡检开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date inspectionStartTime;

    @ApiModelProperty("巡检结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date inspectionEndTime;
}
